<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Default.Master" CodeBehind="CreateNewAccount.aspx.vb" Inherits="KDESolutions.Providers.UnitTests.CreateNewAccount" 
    title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="LeftPane" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CenterPane" runat="server">
<div class="page" id="register">
<asp:ValidationSummary ID="createAccountErrors" runat="server" Width="692px" /><br />
    <asp:CustomValidator ID="validateCreate" runat="server" ErrorMessage="Your account could not be created.">*</asp:CustomValidator>
<fieldset> 
 <legend> 
 Account Information</legend> 
  <table> 
 <tr> 
   <td colspan="2"><asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="txtUserName">User Name:</asp:Label>
       <asp:TextBox ID="txtUserName" runat="server" Width="224px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="txtUserName"
                                    ErrorMessage="User Name is required." ToolTip="User Name is required.">*</asp:RequiredFieldValidator></td> 
 </tr> 
 </table> 
</fieldset><br />
<fieldset>
    <legend>Password</legend>
    <table>
     <tr> 
       <td style="width: 289px">
            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label><asp:TextBox ID="Password" runat="server" TextMode="Password" Width="192px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                    ErrorMessage="Password is required." ToolTip="Password is required.">*</asp:RequiredFieldValidator>
       </td> 
       <td>
            <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Confirm Password:</asp:Label>
                                <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password" Width="192px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
                                    ErrorMessage="Confirm Password is required." ToolTip="Confirm Password is required."
                                    >*</asp:RequiredFieldValidator>
       </td>
     </tr> 
    </table>
</fieldset><br />
<fieldset>
    <legend>Password Recovery</legend>
    <table>
        <tr>
            <td>
                <p>Your security question and corresponding answer will be used in case you forget your password.</p>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblPasswordQuestion" Runat="server">Security Question:</asp:Label><br />
                <asp:TextBox ID="txtSecurityQuestion" runat="server" Width="368px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="requiredQuestion" runat="server" ErrorMessage="Security Question is required!" ControlToValidate="txtSecurityQuestion">*</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblSecurityAnswer" Runat="server">Security Answer:</asp:Label><br />
                <asp:TextBox ID="txtSecurityAnswer" runat="server" Width="280px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="requiredAnswer" runat="server" ErrorMessage="A Security Answer is required!" ControlToValidate="txtSecurityQuestion">*</asp:RequiredFieldValidator></td>
        </tr>
    </table>
</fieldset><br />
<fieldset>
    <legend>Email Address</legend>
    <table>
        <tr>
            <td style="width: 268px">
                <asp:Label ID="label5" Runat="server">Email Address:</asp:Label><asp:TextBox ID="txtEmail" runat="server" Width="168px"></asp:TextBox>
            </td>
            <td style="width: 389px">
                <asp:Label ID="label6" Runat="server">Confirm Email Address:</asp:Label>
                <asp:TextBox ID="txtConfirmEmail" runat="server" Width="168px"></asp:TextBox>
                <asp:CompareValidator ID="validateEmail" runat="server" ControlToCompare="txtEmail"
                    ControlToValidate="txtConfirmEmail" ErrorMessage="You must confirm your email, make sure both email addresses match.">*</asp:CompareValidator></td>
        </tr>
    </table>
</fieldset><br />
<fieldset>
    <legend>Image Verification</legend>
    <table>
         <tr>
            <td>
                <asp:Label ID="Label4" Runat="server">Confirm Image Test:</asp:Label>
                <asp:CustomValidator ID="validateImage" runat="server" ErrorMessage="You must confirm the text displayed in the image." ControlToValidate="txtConfirmImage">*</asp:CustomValidator><br />
                <asp:TextBox ID="txtConfirmImage" Runat="server"></asp:TextBox><br />
            </td>
            <td>
                <asp:Image ID="imgcaptcha" runat="server" ImageUrl="~/captcha/DrawRandomImage.aspx" />
            </td>
         </tr>
    </table>
</fieldset><br />
<fieldset>
    <legend>Location</legend>
    <table>
        <tr>
            <td>
                <asp:Label ID="lblLocation" runat="server">Enter your location.</asp:Label>
                <asp:RequiredFieldValidator ID="validateLocation" runat="server" ErrorMessage="You must provide a location." ControlToValidate="txtLocation">*</asp:RequiredFieldValidator><br />
                <asp:TextBox ID="txtLocation" runat="Server"></asp:TextBox>
            </td>
        </tr>
    </table>
</fieldset><br />
<fieldset>
    <legend>Time Zone</legend>
    <table>
        <tr>
            <td>
                <p>All timestamps displayed can automatically be corrected to show the correct time
                 for your location in the world. Simply select the appropriate time zone from the list below.</p>
                 Time Zone:&nbsp;<asp:DropDownList ID="ddlTimeZone" runat="server"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <p>In addition, you may set the appropriate option to allow for daylight savings time in your 
                part of the world</p>
                DST Correction Option:&nbsp;<asp:DropDownList ID="ddlDaylightSavings" runat="server">
                    <asp:ListItem Value="auto">Automatically detect DST settings</asp:ListItem>
                    <asp:ListItem Value="on">DST corrections always on</asp:ListItem>
                    <asp:ListItem Value="off">DST corrections always off</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
    </table>
</fieldset><br />
<fieldset>
    <legend>Receive Email</legend>
    <table>
        <tr>
            <td>Select which of the following email notifications you'd like to receive.</td>
        </tr>
        <tr>
            <td>If you do not want to receive these notices, disable this option.</td>
        </tr>
        <tr>
            <td>
                <asp:Repeater ID="rptEmailNotification" runat="server">
                    <ItemTemplate>
                        <asp:CheckBox ID="notificationOption" runat="server" Text='<%# Eval("Value") %>' /><br />
                    </ItemTemplate>
                </asp:Repeater>
            </td>
        </tr>
    </table>
</fieldset><br />
<table>
    <tr>
        <td>
            <asp:Button ID="btnCreateAccount" runat="server" Text="Create Account" />&nbsp;
            <asp:Button ID="btnResetFields" runat="server" Text="Reset Fields" CausesValidation="False" /> 
        </td>
    </tr>
</table>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightPane" runat="server">
</asp:Content>
